using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Content;

namespace Zephyris_Space_Mercs
{
    class MapLoader
    {
        private List<Map> mapList = new List<Map>();

        public List<Map> LoadMaps(ContentManager Content)
        {
            Map mapFileInfo = new Map(MapTypes.MapType.MapDefault, Content);

            // Map list with relative filepaths
            mapFileInfo = new Map(MapTypes.MapType.Map1, Content);
            mapFileInfo.relPath = "Maps\\sector_14a";
            mapFileInfo.name = "Midnight Moon";
            mapList.Add(mapFileInfo);

            mapFileInfo = new Map(MapTypes.MapType.Map2, Content);
            mapFileInfo.relPath = "Maps\\sector_1a";
            mapFileInfo.name = "Celestial Run";
            mapList.Add(mapFileInfo);

            mapFileInfo = new Map(MapTypes.MapType.Map3, Content);
            mapFileInfo.relPath = "Maps\\sector_4a";
            mapFileInfo.name = "Nebula Behold";
            mapList.Add(mapFileInfo);

            mapFileInfo = new Map(MapTypes.MapType.Map4, Content);
            mapFileInfo.relPath = "Maps\\sector_9a";
            mapFileInfo.name = "Endless Vision";
            mapList.Add(mapFileInfo);

            // End list

            return mapList;
        }
    }
}
